﻿using System.Xml.Serialization;

namespace ElectronicCommerce.Framework.Utility.Mail.Configuration
{
    /// <summary>
    /// Smtp Mail Server Configuration
    /// </summary>
    public class SmtpMailServerConfiguration
    {
        [XmlElement("host")]
        public string Host
        {
            get;
            set;
        }

        [XmlElement("port")]
        public int Port
        {
            get;
            set;
        }

        [XmlElement("senderMaillAddress")]
        public string SenderMailAddress
        {
            get;
            set;
        }

        [XmlElement("senderDisplayName")]
        public string SenderDisplayName
        {
            get;
            set;
        }

        [XmlElement("userName")]
        public string UserName
        {
            get;
            set;
        }

        [XmlElement("password")]
        public string Password
        {
            get;
            set;
        }


        [XmlElement("enableSsl")]
        public bool EnableSsl
        {
            get;
            set;
        }
    }
}
